package routers

import (
	"test/controllers"
	"github.com/astaxie/beego"
)

func init() {
    beego.Router("/", &controllers.MainController{})
    beego.Router("/test", &controllers.MainController{})
    beego.Router("/test_input", &controllers.TestInputController{}, "get:Get;post:Post")
    beego.Router("/test_login", &controllers.TestLoginController{}, "get:Login;post:Post")
    beego.Router("/test_model", &controllers.TestModelController{}, "get:Get;post:Post")
    beego.Router("/test_redis", &controllers.TestRedisController{}, "get:Get;post:Post")
	beego.Router("/test_mongo", &controllers.TestMongoController{}, "get:Get;post:Post")


}


